package com.fzk.blog.bean;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigInteger;

/**
 * @author fzk
 * @time 2021-08-15 15:51
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "tbl_comment")
public class Comment {
    @TableId(type = IdType.AUTO)
    private BigInteger id;
    @TableField(value = "user_id")
    private Integer userId;
    @TableField(value = "blog_id")
    private Integer blogId;

    private String content;
    @TableField(value = "publish_date")
    private String publishDate;

    @TableLogic
    private Integer flag;
    @TableField(value = "create_time")
    private String createTime;
    @TableField(value = "create_by")
    private Integer createBy;
    @TableField(value = "edit_time")
    private String editTime;
    @TableField(value = "edit_by")
    private Integer editBy;

}
